how to find number of spectral lines in hydrogen spectrum